]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
status/network: Do not disable on login screen
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 7 Jun 2021 22:19:26 +0000 (00:19 +0200)
committerMarge Bot <marge-bot@gnome.org>
Fri, 16 Jul 2021 22:21:12 +0000 (22:21 +0000)
We currently disable all network items on both the lock- and login
screen. While it makes sense to be very restrictive on the lock screen,
there are some (fringe) use cases for being more permissive on the
login screen (like remote home directories only accessible via VPN).

There's precedence with the power-off/restart actions to be less
restrictive on the login screen, and since we started respecting
the `network-control` polkit action, it's possible to restore the
old behavior if desired.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1874>

js/ui/status/network.js

index 3d336ed7e64540449d319a8a3b84a209452bc008..b1b11e114d0a86c7cd5aefce6f75b2f24933291c 100644 (file)
@@ -1765,7 +1765,6 @@ class Indicator extends PanelMenu.SystemIndicator {
     _sessionUpdated() {
         const sensitive =
             !Main.sessionMode.isLocked &&
-            !Main.sessionMode.isGreeter &&
             this._configPermission && this._configPermission.allowed;
         this.menu.setSensitive(sensitive);
     }